Skip to content

dgb(g2): RATCHET staged-migration harness + 5-check evidence template - #427

Merged
frstrtr merged 1 commit into
masterfrom
dgb/g2-ratchet-staged-migration-harness
Jun 24, 2026
Merged

dgb(g2): RATCHET staged-migration harness + 5-check evidence template#427
frstrtr merged 1 commit into
masterfrom
dgb/g2-ratchet-staged-migration-harness

Conversation

@frstrtr

@frstrtr frstrtr commented Jun 24, 2026

Copy link
Copy Markdown
Owner

Greenlight gate G2 (sequence: G1 byte-parity KAT -> G2 ratchet staged-migration -> G3a/G3b testnet block production), per integrator UID2208.

Self-provisions the dual-pool testbed on the VM115 isolated scrypt net: ver35 oracle (p2pool-dgb-scrypt, terminal share VERSION=35 / SUCCESSOR=None) <-> v36 c2pool-dgb, peering on one sharechain (IDENTIFIER 4B62545B1A631AFE), diff-1, bucket-1 isolated. Conforms to DGB own oracle, not the LTC v35 transition.

The 5 checks (sim mode proves staged-gate LOGIC now via existing AutoRatchet KATs; LIVE work-weighted rows GATED on the R1-LTC scrypt window brokered off the LTC soak):

# Check Sim result
C1 baseline cohabit (v36 peers ver35, accepts ver35) substrate reachable; live-peer [GATED: rigs]
C2 VOTING mints base35 / votes 36, no premature v36 3/3
C3 #288 staged accept gate: flat-95% gated behind 60%-by-work 9/9
C4 VOTING->ACTIVATED->CONFIRMED + restart persistence 3/3
C5 scrypt-only work-weighting; 4 algos N/A-by-continuity 12/12

27/27 logic checks green. Additive scripts/ only (harness + evidence template) -- no consensus surface, no shared/other-coin tree, no build.yml/CMake. GPG-signed, no attribution.

Files: scripts/dgb_g2_ratchet_staged_migration_harness.sh, scripts/dgb_g2_evidence_template.md.

G2 greenlight gate (G1 byte-parity -> G2 ratchet-migration -> G3 testnet).
Self-provisions the dual-pool testbed on the VM115 isolated scrypt net
(ver35 oracle p2pool-dgb-scrypt <-> v36 c2pool-dgb, one sharechain id
4B62545B1A631AFE, diff-1, bucket-1 isolated). Drives the 5 staged checks:

  C1 baseline cohabit   (live-peer GATED on rigs)
  C2 VOTING mint base35/votes36         sim 3/3
  C3 #288 staged accept gate 60%-by-work sim 9/9
  C4 ratchet + restart persistence       sim 3/3
  C5 scrypt-only; 4 algos N/A-by-continuity  12/12

Sim mode proves the staged-gate logic now via existing AutoRatchet KATs;
LIVE work-weighted rows GATED until the R1-LTC scrypt window is brokered
off the LTC crossing-soak. Conforms to DGBs own oracle (terminal ver35,
SUCCESSOR=None), not the LTC v35 transition. Additive scripts only -- no
consensus surface, no shared/other-coin tree touched.
@frstrtr
frstrtr merged commit 549f4f6 into master Jun 24, 2026
32 checks passed
frstrtr added a commit that referenced this pull request Jun 25, 2026
#440)

Mirror of DGB #427 --sim-votes for BTC: gives the G2 staged-migration harness
(scripts/btc_g2_ratchet_staged_migration_harness.sh) a rig-free verdict source
for its C2/C3/C4 rows, which were GATED on a SHA256d rig window because BTC had
no AutoRatchet sim KAT (DGB proves the same rows via its existing AutoRatchet
KATs). Authorized as path (b).

  C2  VOTING mints the V35 baseline while voting V36 (empty-tracker bootstrap)
  C3  #288 accept gate is 60%-by-WORK, and a 95%-by-COUNT activation can NOT
      outrun it under heterogeneous hashrate (mint-cannot-outrun-accept) —
      pinned via a verbatim replica of the live inline tail-guard expression
      in AutoRatchet::get_share_version, plus a staged 1-by-1 migration whose
      work tally advances monotonically and activates only at full crossing
  C4  ratchet state persists across restart (CONFIRMED survives reconstruct)

Rides the already-allowlisted btc_share_test target (build.yml lines 71/204),
so it FIRES in CI with no allowlist/drift-guard change. Test-only, btc-tree
local, no consensus / shared-base / build.yml / CMake-shared surface.

6/6 new pass; full btc_share_test 21/21 green.

Co-authored-by: frstrtr <frstrtr@users.noreply.github.com>
frstrtr added a commit that referenced this pull request Jun 25, 2026
… DGB #427 / BTC #436) (#482)

Greenlight gate G2 for DASH: staged 1-by-1 miner-migration over a dual
v16-oracle + v36-c2pool sharechain, 5 checks. Conforms vs DASH own oracle
frstrtr/p2pool-dash @9a0a609 (share VERSION=16) -> 16->36 ratchet; separate
X11 sharechain, NOT the LTC v35 crossing.

Additive/fenced: scripts/ only, no consensus/shared-base/build.yml/CMake
surface, DASH-only. Keeps the dashd submitblock RPC fallback.

DASH edge over BTC #436: staged-gate LOGIC is sim-proven rig-free NOW via
the master weighted-gate KATs (test_dash_conformance VersionNeg.* +
VersionWiring.*, 11/11) -- weighted 60% accept, weighted 95% v36 gate,
weight-not-count, 5-case switch, wired-path admit/reject. Real --regtest
parent (same substrate as proven G3a/G3b populated won blocks). Only the
LIVE work-weighted tally through staged X11 stratum miners is rig-gated.

Co-authored-by: frstrtr <frstrtr@users.noreply.github.com>
frstrtr added a commit that referenced this pull request Jun 25, 2026
btc(g2): RATCHET staged-migration harness + 5-check evidence (mirror DGB #427)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant